home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm((((3333)))) CCCCMMMMSSSS ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- cmsApplyTfm - apply a color management tranform to a pixel buffer
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
-
- iiiinnnntttt33332222 ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm ((((ccccttttxxxxtttt,,,, ttttffffmmmm,,,, ****ppppssssrrrrcccc,,,, ****ppppddddeeeesssstttt))));;;;
- CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
- CCCCMMMMSSSSTTTTffffmmmm ttttffffmmmm;;;;
- CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppssssrrrrcccc;;;;
- CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppddddeeeesssstttt;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _c_m_s_T_f_m_A_p_p_l_y uses the transform _t_f_m to apply a conversion to the input
- pixel buffer _p_s_r_c, generating the output pixel buffer _p_d_e_s_t.
-
- In-place conversions may not be possible; for example, if the output
- format requires more space than the input format (RGB to CMYK), or if the
- CMM can not support in-place conversions. In such cases, an error will
- be generated.
-
- Transformations may take a while to perform. If you are concerned about
- maintaining interactivity, you may wish to transform images in smaller
- sized chunks. Use the hint CMS_SPEED_ACHIEVED to determine the rate at
- which the system can update pixels using the current transform. Using
- this number as a guide, you can perform a lengthy conversion in chunks
- small enough to maintain interactive responsiveness.
-
- EEEERRRRRRRROOOORRRRSSSS
- CMS_WRONG_DATA
- Either one of the pixel buffer pointers does not point to a
- pixel buffer, or it points to a buffer of the wrong format for
- the transform.
-
- CMS_BAD_TFM
- _t_f_m is either not a transform, or it is not a transform built
- using the context _c_t_x_t.
-
- CMS_BAD_PIXEL_BUF
- Either one of the pixel buffer pointers does not point to a
- pixel buffer, or it points to a buffer of the wrong format for
- the transform.
-
- CMS_CONVERT_ERROR
- This transform could not be applied to the data. This error
- will be generated if a transform could not be performed in-
- place.
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-